ResponseBytesReceived

public interface ResponseBytesReceived implements NetworkEvent

An event indicating that a part of HTTP response body has been received over the network.

Since

7.1

Functions

Link copied to clipboard
Returns an Optional that contains the charset in lower case retrieved from the HTTP response headers of this request or an empty Optional if the received headers do not include any information about the charset.
Link copied to clipboard
public Array<byte> data()
Returns the received part of HTTP response body.
Link copied to clipboard
Returns an Optional that contains the MIME type value retrieved from the Content-Type header of this request or an empty Optional if there is no MIME type.
Link copied to clipboard
public Network network()
Returns the Network instance initiated this event.
Link copied to clipboard
Returns the URL request associated with the response.